/*
 * @Author: 丁平|1572804782@qq.com(dingping)
 * @Date: 2022-03-23 13:30:27
 * @LastEditors: 周润玉|zhourunyu1@outlook.com(zhourunyu)
 * @LastEditTime: 2022-04-24 16:38:01
 * @Participate: 参与修改人
 * @Description: 
 * @Administrator: 丁平|1572804782@qq.com(dingping)
 * @Copyright: 文件版本号
 */
import request from '../../../../../public/js/common/api/api.js';
const SysCfgUrl = Utils.CurDomain.SysCfgUrl;
const url = Utils.CurDomain.FoodPigSltrUrl;
/**
 *@file客户API
 *@Date :2022-03-23 13:38:55
 *@create丁平
*/
export default class CustomerApi {

    /**
     * 获取登录客户电子凭证
     * @returns 
     */
    static getCustomerElectronicDocuments() {
        return request.get(`${url}/sltruser/qrcode`);
    }

     /**
     * 获取发布日志最新信息（缓存60s）
     * @returns 
     */
      static getIssuedLogs(Name){
        return request.get(`${SysCfgUrl}/issuedlogs/last/${Name}`);
    }
}

